<?php
/**
 * =============================================================
 * @file        $Id: controller.php 1.0.0 2012-05-13 00:00:00 Xavier Muñoz $
 * @package	    coleccion 
 * @version     1.0.0
 * @class name  Controller
 * @description Componente que administra la información de la base de datos
 * @copyright	  Copyright © 2012 - All rights reserved.
 * @license		  GNU General Public License v2.0
 * @author		  Xavier Muñoz
 * @author mail	xavierdavidmunoz@gmail.com
 * @website		  www.nn.com
 * =============================================================
 * CODE GENERATED BY: ALEXEY GORDEYEV IK CODE GENERATOR
 * HTTP://WWW.AGJOOMLA.COM/
 *
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport('joomla.application.component.controller');

class coleccionController extends JController
{
	/**
	 * Custom Constructor
	 */

	function __construct()
	{
		parent::__construct();
		
		$this->registerTask( 'add' , 'edit' );
		
	}
	
	/**
	 * display the edit form
	 * @return void
	 */
	function edit()
	{
		JRequest::setVar( 'layout', 'form'  );
		JRequest::setVar( 'hidemainmenu', 1);

		parent::display();
	}


	// Your custom code here


} // End class Controller
?>